/*
* fbank.com Inc.
* Copyright (c) 2020 All Rights Reserved.
* create by fm
* date:2020-04-26
*/
package com.ouwen.smartpay.entity;


import javax.persistence.Entity;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.*;
import javax.validation.constraints.*;

import com.fm.core.common.domain.AbstractEntity;
import java.util.Date;

/**
 * 服务分类 Entity
 *
 * @author fm
 * Date: 2020-04-26 14:17:09
 */
@Setter
@Getter
@Entity
@Table(name = "openapi_service")
public class Service extends AbstractEntity {
	/** serialVersionUID */
	private static final long serialVersionUID = 1L;


	/** 服务编码 */
	@NotEmpty
	@Size(max=32)
    private String code;

	/** 服务名 */
	@NotEmpty
	@Size(max=32)
    private String name;

	/** 服务版本 */
	@NotEmpty
	@Size(max=16)
    private String serviceVersion;

	/** 服务分组 */
	@NotEmpty
	@Size(max=16)
    private String serviceGroup;

	/** 中文描述 */
	@NotEmpty
	@Size(max=32)
    private String title;

	/** create_userid */
	@Size(max=40)
    private String createUserid;

	/** modify_userid */
	@Size(max=40)
    private String modifyUserid;

	/** 备注 */
	@Size(max=64)
    private String comments;

}
